UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The sticky bit must be set on all public directories.


Overview

Finding ID Version Rule ID IA Controls Severity
V-806 GEN002500 M6 SV-37991r1_rule ECCD-1 ECCD-2 Low
Description
Failing to set the sticky bit on the public directories allows unauthorized users to delete files in the directory structure. The only authorized public directories are those temporary directories supplied with the system or those designed to be temporary file repositories. The setting is normally reserved for directories used by the system and by users for temporary file storage (e.g., /tmp) and for directories requiring global read/write access.
STIG Date
MAC OSX 10.6 Workstation Security Technical Implementation Guide Draft 2013-01-10

Details

Check Text ( C-37576r1_chk )
Enter the following command to search public directories.

find / -type d -perm -002 -exec ls -ld {} \;

Review the results. If any public directories do not have the sticky bit set, this is a finding.
Fix Text (F-32532r1_fix)
Open a terminal session and enter the following command to set the sticky bit on all public directories.

chmod 1777